package com.minsu.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("clean_records")
public class CleanRecord {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    
    private String taskId;           // 关联的任务ID
    private String listingId;        // 关联的民宿ID
    private String cleanType;        // 清洗类型：TITLE/PRICE/AREA/LOCATION/DESCRIPTION
    private String oldValue;         // 清洗前的值
    private String newValue;         // 清洗后的值
    private String remark;           // 备注说明
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt; // 创建时间
} 